package com.networklib.http.impl.post;

import com.networklib.http.exception.NetException;

import okhttp3.RequestBody;


public class SinglePostHttpRequestImpl extends PostHttpRequestImpl {
    private final Object o;

    public SinglePostHttpRequestImpl(String url, Object o) throws NetException {
        super(url);
        this.o = o;
    }

    @Override
    protected RequestBody getParams() {
        return getRequestBody(o,onProgressListener);
    }
}
